package com.flag.liutao.modules.student.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel("添加获修改年级信息的param")
public class GradeParam {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("年级名称")
    @NotBlank(message = "年级名称不能为空")
    private String gradeName;

    @ApiModelProperty("入学时间")
    @NotNull(message = "入学时间")
    private Date gradeYear;




}
